AssignmentItem Class

Contains constants related to the AssignmentItem item type.

Each item of this LearningStore item type contains information about one assignment, i.e. one organization of one e-learning package, or one non-e-learning document, assigned to one or more learners, with zero or more instructors.

This item type is available only in SLK (not in MLC).

Namespace: Microsoft.SharePointLearningKit.Schema

Assembly: Microsoft.SharePointLearningKit.dll

Syntax
C#

public abstract class AssignmentItem

Fields
Name Description
ÐC AutoReturn

Name of the AutoReturn property on the AssignmentItem item type.

AutoReturn is true if the assignment should be automatically returned to learners when they submit it to the instructor or (for self-assigned assignments) mark the assignment as complete. If false, the instructor has an opportunity to grade the learner's work. AutoReturn should always be true for self-assigned assignments. Corresponds to AssignmentProperties.AutoReturn.

ÐC CreatedBy

Name of the CreatedBy property on the AssignmentItem item type.

CreatedBy is the UserItemIdentifier of the user who created the assignment. Corresponds to AssignmentProperties.CreatedById.

ÐC DateCreated

Name of the DateCreated property on the AssignmentItem item type.

DateCreated is the date/time (UTC) that the assignment was created. Corresponds to AssignmentProperties.DateCreated.

ÐC Description

Name of the Description property on the AssignmentItem item type.

Description is the description of the assignment, including instructions to the learner (if any). Corresponds to AssignmentProperties.Description.

ÐC DueDate

Name of the DueDate property on the AssignmentItem item type.

DueDate is the due date/time (UTC) of the assignment, or null if the assignment has no due date/time. Corresponds to AssignmentProperties.DueDate.

ÐC Id

Name of the Id property on the AssignmentItem item type.

ÐC ItemTypeName

Name of the AssignmentItem item type.

ÐC MaxDescriptionLength

Maximum length of the Description property in characters.

ÐC MaxNonELearningLocationLength

Maximum length of the NonELearningLocation property in characters.

ÐC MaxTitleLength

Maximum length of the Title property in characters.

ÐC NonELearningLocation

Name of the NonELearningLocation property on the AssignmentItem item type.

If non-e-learning content was assigned, NonELearningLocation is the MLC SharePoint location string (i.e. the same value used in PackageItem.Location) of the assigned non-e-learning document. If e-learning content was assigned, NonELearningLocation is null -- in that case, RootActivityId is used.

ÐC PointsPossible

Name of the PointsPossible property on the AssignmentItem item type.

The nominal maximum number of points that can be awarded to a learner on this assignment, or null if this information is not provided. The actual number of points awarded may exceed this value. Corresponds to AssignmentProperties.PointsPossible.

ÐC RootActivityId

Name of the RootActivityId property on the AssignmentItem item type.

If e-learning content was assigned, RootActivityId is the ActivityPackageItemIdentifier of the assigned SCORM organization. If non-e-learning content was assigned, RootActivityId is null -- in that case, NonELearningLocation is used.

ÐC ShowAnswersToLearners

Name of the ShowAnswersToLearners property on the AssignmentItem item type.

ShowAnswersToLearners is true if answers will be shown to the learner when a learner assignment associated with this assignment is returned to the learner. This only applies to certain types of e-learning content. Corresponds to AssignmentProperties.ShowAnswersToLearners.

ÐC SPSiteGuid

Name of the SPSiteGuid property on the AssignmentItem item type.

SPSiteGuid is the GUID of the SharePoint site collection (SPSite) that this assignment is associated with. Corresponds to AssignmentProperties.SPSiteGuid.

ÐC SPWebGuid

Name of the SPWebGuid property on the AssignmentItem item type.

SPWebGuid is the GUID of the SharePoint Web site (SPWeb) that this assignment is associated with. Corresponds to AssignmentProperties.SPWebGuid.

ÐC StartDate

Name of the StartDate property on the AssignmentItem item type.

StartDate is the start date/time (UTC) of the assignment. Corresponds to AssignmentProperties.StartDate.

ÐC Title

Name of the Title property on the AssignmentItem item type.

Title is the title of the assignment. Corresponds to AssignmentProperties.Title.

Remarks

For each learner on this assignment, there is one LearnerAssignmentItem. For each instructor on this assignment, there is one InstructorAssignmentItem. If this assignment is associated with an e-learning package (not a non-e-learning document), then when the learner begins the assignment an MLC AttemptItem is created.

Default operation-level security: Access is granted to no users.

Properties on the item type: